const activity = require('./activity')

module.exports = (app) => {
  const { Schema, createModel, getModelName, formatDate, pre } = app.jax.mongoose
  const modelName = getModelName(__filename)

  const modelSchema = new Schema({
    userId: Schema.Types.ObjectId,
    activityId: Schema.Types.ObjectId,
  })

  const Model = createModel(modelName, modelSchema)

  return Model
}
